package org.example

import org.apache.spark.sql.SparkSession

object sparkSQL {
  def main(args: Array[String]): Unit = {
    val spark = SparkSession.builder.master("local").appName("SparkSQL").getOrCreate()
    val personDF = spark.read.json("F:\\scala326\\spark319\\src\\main\\resources\\person.json")
    personDF.show()
    spark.stop()
  }
}
